package com.aaa.mapper;

import com.aaa.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    //登录
    List<User> login(String username,String userpwd);

    //注册
    int register(User user);

    //根据id查询
    List<User> getId(String username);

    //修改个人信息
    int Upwd(User user);
}
